﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameDb.Entities
{
    public class MatchPlayerTurn
    {
        public MatchPlayerTurn()
        {
            MatchPlayerTurnPieces = new List<MatchPlayerTurnPiece>();
            MatchPieces = new List<MatchPiece>();
        }

        public int MatchPlayerTurnId { get; set; }
        public short TurnSequence { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? CompleteDate { get; set; }
        public short? MoveScore { get; set; }

        public virtual MatchTurn MatchTurn { get; set; }

        public virtual MatchPlayer MatchPlayer { get; set; }
        public virtual ICollection<MatchPiece> MatchPieces { get; set; }
        public virtual ICollection<MatchPlayerTurnPiece> MatchPlayerTurnPieces { get; set; }
    }
}
